package ooday01;

public class Car {
        String breand;
        String color;
        double price;
        Car(){}
        Car(String breand, String color, double price){
            this.breand=breand;
            this.color=color;
            this.price=price;
        }
        void start(){
            System.out.println(breand+"牌子的"+color+"颜色的"+price+"块钱的车启动了...");
        }
        void run(){
            System.out.println(breand+"牌子的"+color+"颜色的"+price+"块钱的车开始跑了...");
        }
        void stop(){
            System.out.println(breand+"牌子的"+color+"颜色的"+price+"块钱的停止了...");
        }
}


